<?php

/*
Setup "Pull My Finger" (admin_setup_finger.php)
*/

$page_title = "Setting up Mumbly Joe";
$rank_check = 7;
include "../header.inc.php";

print "$openHTML";

$findFingerPrizes = fetch("SELECT * FROM finger_prizes WHERE game = '$game'");

ECHO <<<END

<p align=center><font size=+2><a href=setup_finger.php?game=$game>Read this before setting up the game!</a></font></p>

<P><FORM ACTION="admin_setup_finger.pro.php?game=$game" METHOD=POST>
   <CENTER><TABLE BGCOLOR="$tableOutline" CELLSPACING=1 CELLPADDING=0 WIDTH=400>
      <TR BGCOLOR="$topAndBottomBG">
         <TD COLSPAN=2 HEIGHT=40>
            <CENTER><FONT SIZE="+2" COLOR="$topAndBottomText"><B>Setup "Pull My
            Finger"</B></FONT></CENTER>
         </TD>
      </TR>
      <TR>
         <TD WIDTH=100 BGCOLOR="$topAndBottomBG">
            <CENTER>Cheap Prizes:</CENTER>
         </TD>
         <TD BGCOLOR="$maincellColor">
            <CENTER><TEXTAREA NAME=cheap_prizes ROWS=7 COLS=35 WRAP=virtual>$findFingerPrizes[cheap_finger]</TEXTAREA></CENTER>
         </TD>
      </TR>
      <TR>
         <TD WIDTH=100 BGCOLOR="$topAndBottomBG">
            <CENTER>Rare Prizes:</CENTER>
         </TD>
         <TD BGCOLOR="$maincellColor">
            <CENTER><TEXTAREA NAME=great_prizes ROWS=7 COLS=35 WRAP=virtual>$findFingerPrizes[great_finger]</TEXTAREA></CENTER>
         </TD>
      </TR>
      <TR>
         <TD WIDTH=100 BGCOLOR="$topAndBottomBG">
            <CENTER>Point Prizes:</CENTER>
         </TD>
         <TD BGCOLOR="$maincellColor">
            <CENTER><TEXTAREA NAME=good_prizes ROWS=7 COLS=35 WRAP=virtual>$findFingerPrizes[good_finger]</TEXTAREA></CENTER>
         </TD>
      </TR>
      <TR>
         <TD COLSPAN=2 HEIGHT=20 BGCOLOR="$topAndBottomBG">
            <CENTER><INPUT TYPE=submit NAME=Submit VALUE="Setup the Game!"></CENTER>
         </TD>
      </TR>
   </TABLE>
   </CENTER>
</FORM></P>

END;

print "$closeHTML";
?>
